<template>
	<view>
		<view class="back" @tap="back">
			返回
		</view>
		<view class="">
			支付总价:{{ price }}
		</view>
		<view @tap = "goMine">
			<button type="default">个人中心</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				price:'',
			}
		},
		onLoad(e) {
			console.log(e);
			this.price = e.price;
		},
		methods: {
			back() {
				uni.navigateBack({
					delta:1
				})
			},
			goMine() {
				uni.switchTab({
					url:'/pages/mine/mine'
				})
			}
		}
	}
</script>

<style>

</style>
